<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>小米商品种类下标行</title>
		<link rel="stylesheet" type="text/css" href="../../css/iconfont.css"/>
		<style type="text/css">
			body,ul { /*并集选择器可以把公共样式一起设置*/
				margin: 0;
				padding: 0;
				list-style: none;
			}
			.container {
				width: 100%;
				height: 170px;
			}
			.home-subbar {
				margin: 100px auto 0;
				width: 1226px;
				height: 100%;
			}
			.home-sub-left {
				width: 234px;
				height: 100%;
				float: left;
				background-color: #5f5750;
			}
			.home-sub-right {
				width: 992px;
				height: 100%;
				float: left;
			}
			.sub-img>li,.sub-icon>li {  /* >子代选择器，选择的是subimg下面的子li元素*/
				float: left;
			}
			.sub-img img {  /* 空格 后代代选择器，选择的是subimg下面的后代img元素*/
				width: 316px;
				margin-left:14px ;
			}
			.sub-icon {
				height: 50%;
				text-align: center;
			}
			.sub-icon>li {
				padding-top: 20px;
				width: 33.33%;
				color: #bebebe;
				font-size: 14px;
				position: relative;
			}
			.sub-icon>li:hover {
				color: #FFFFFF;
			}
			.sub-icon>li::before { /*这是使用伪元素来做的分割线*/
				content: '';
				position: absolute;
				top: 3px;
				left: 6px;
				display: block;
				height: 1px;
				width: 64px;
				background-color: #737373;
			}
			.sub-icon>li::after { /*这是使用伪元素来做的分割线*/
				content: '';
				position: absolute;
				top: 12px;
				left: 3px;
				display: block;
				height: 64px;
				width: 1px;
				background-color: #737373;
			}
			
			.sub-icon a {
				color: #bebebe;
				text-decoration: none;
			}
			.sub-icon a:hover {
				color: #FFFFFF;
				
			}
			.sicon {
				display: block;
				font-size: 24px;
				font-weight: 100;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="home-subbar">
				<div class="home-sub-left">
					<ul class="sub-icon">
						<li><span class="iconfont icon--target sicon"></span><a href="">小米秒杀</a></li>
						<li><span class="iconfont icon--target sicon"></span><a href="">小米秒杀</a></li>
						<li><span class="iconfont icon--target sicon"></span><a href="">小米秒杀</a></li>
					</ul>
					<ul class="sub-icon">
						<li><span class="iconfont icon--target sicon"></span><a href="">小米秒杀</a></li>
						<li><span class="iconfont icon--target sicon"></span><a href="">小米秒杀</a></li>
						<li><span class="iconfont icon--target sicon"></span><a href="">小米秒杀</a></li>
					</ul>
				</div>
				<div class="home-sub-right">
					<ul class="sub-img">
						<li><a href=""><img src="../../img/sub1.jpg" ></a></li>
						<li><a href=""><img src="../../img/sub2.jpg" ></a></li>
						<li><a href=""><img src="../../img/sub3.jpg" ></a></li>
					</ul>
				</div>
			</div>
		</div>
	</body>
</html>
